package example.player

/**
 * 播放指令(密封类)
 */
sealed class PlayCmd

class Play constructor(var url: String, var position: Long = 0) : PlayCmd()

class Seek constructor(var position: Long) : PlayCmd()

object Resume : PlayCmd()

object Pause : PlayCmd()

object Stop : PlayCmd()